projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e86d2b
)
gtk: Define the GtkExpression autocleanup func
author
António Fernandes
<antoniojpfernandes@gmail.com>
Sun, 2 Jan 2022 17:49:48 +0000
(17:49 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 2 Jan 2022 17:49:48 +0000
(17:49 +0000)
gtk/gtkexpression.h
patch
|
blob
|
history
diff --git
a/gtk/gtkexpression.h
b/gtk/gtkexpression.h
index 4cea8fb57ac9645b0a3b4ced4a411877cf4a35b3..91a9b88396a14b87d782899674ef6a2062523f3c 100644
(file)
--- a/
gtk/gtkexpression.h
+++ b/
gtk/gtkexpression.h
@@
-50,6
+50,7
@@
GDK_AVAILABLE_IN_ALL
GtkExpression * gtk_expression_ref (GtkExpression *self);
GDK_AVAILABLE_IN_ALL
void gtk_expression_unref (GtkExpression *self);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkExpression, gtk_expression_unref)
GDK_AVAILABLE_IN_ALL
GType gtk_expression_get_value_type (GtkExpression *self);